﻿// -----------------------------------------------------------------------
// <copyright file="IFilter.cs">
// Copyright (c) 2013 Andrey Veselov. All rights reserved.
// License:  Microsoft Public License (MS-PL)
// Contacts: http://andrey.moveax.com  andrey@moveax.com
// </copyright>
// -----------------------------------------------------------------------

namespace PortableImagingLibrary.Png.Filters
{
    using System.Diagnostics.Contracts;

    [ContractClass(typeof(FilterContract))]
    internal interface IFilter
    {
        void ReconstructLine(byte[] sourceLine, byte bytesPerSample);

        void FilterLine(byte[] sourceLine, byte bytesPerSample);
    }
}
